﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EPS.UI.Agents
{
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class TemplateProxy : System.ServiceModel.ClientBase<EPS.Contracts.ITemplate>, EPS.Contracts.ITemplate
    {

        public TemplateProxy()
        {
        }

        public TemplateProxy(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public TemplateProxy(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public TemplateProxy(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public TemplateProxy(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public List<EPS.Contracts.Template> GetBySql(string sql)
        {
            return base.Channel.GetBySql(sql);
        }

        public void Insert(EPS.Contracts.Template template)
        {
            base.Channel.Insert(template);
        }

        public void Update(EPS.Contracts.Template template)
        {
            base.Channel.Update(template);
        }

        public void DelById(string Keyid)
        {
            base.Channel.DelById(Keyid);
        }
    }
}
